//
//  TWCustomPresentationController.m
//  图片浏览
//
//  Created by 谭伟 on 2017/4/27.
//  Copyright © 2017年 迷你金服. All rights reserved.
//

#import "TWCustomPresentationController.h"

@implementation TWCustomPresentationController

- (void)presentationTransitionWillBegin
{
    self.presentedView.frame = CGRectMake(0, 0,[UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);
    
    [self.containerView addSubview:self.presentedView];
}

- (void)presentationTransitionDidEnd:(BOOL)completed
{
    
}

- (void)dismissalTransitionWillBegin
{
    
}

- (void)dismissalTransitionDidEnd:(BOOL)completed
{
    [self.presentedView removeFromSuperview];
}



@end
